<?php

class Consultas extends CI_Controller {

    public function __construct() {
        parent::__construct();

        $this->load->library('form_validation');
        
    }

    /**
     * Index Page for this controller.
     *
     * Maps to the following URL
     * 		http://example.com/index.php/welcome
     * 	- or -  
     * 		http://example.com/index.php/welcome/index
     * 	- or -
     * Since this controller is set as the default controller in 
     * config/routes.php, it's displayed at http://example.com/
     *
     * So any other public methods not prefixed with an underscore will
     * map to /index.php/welcome/<method_name>
     * @see http://codeigniter.com/user_guide/general/urls.html
     */
    public function index() {
    /*  
        $this->consultasDB->Consulta1();
        $this->consultasDB->Consulta2();
        $this->consultasDB->Consulta3();
        $this->consultasDB->Consulta4();
        $this->consultasDB->Consulta5();
        $this->consultasDB->Consulta6();
        $this->consultasDB->Consulta7();
    */    
        
      $dataconsulta1 = array (
          'e_Status' => $this->input->post("e_status"),
          'b_CodB' => $this->input->post("b_CodB"),
      );

      $this->load->view('frontend/Consulta'); // MENU DE CONSULTAS
                                             
      /* if ($inputopcion['consulta1'])
          $this->load->view('dbwindows/Banco');*/
      
      
    }

    function validar() {
        
    }

}
